package Bean;

import java.util.ArrayList;

public class MindMapNodeTemp {

    private String text;
    private double x;
    private double y;
    private ArrayList<MindMapNodeTemp> nodes = new ArrayList<>();
    private MindMapNodeTemp parent;

    public MindMapNodeTemp(){}

    public MindMapNodeTemp(String text,double x,double y){
        this.text = text;
        this.x = x;
        this.y = y;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    public double getX() {
        return x;
    }

    public void setX(double x) {
        this.x = x;
    }

    public double getY() {
        return y;
    }

    public void setY(double y) {
        this.y = y;
    }

    public ArrayList<MindMapNodeTemp> getNodes() {
        return nodes;
    }

    public void setNodes(ArrayList<MindMapNodeTemp> nodes) {
        this.nodes = nodes;
    }

    public MindMapNodeTemp getParent() {
        return parent;
    }

    public void setParent(MindMapNodeTemp parent) {
        this.parent = parent;
    }

}
